package com.truyen.service;

import java.util.List;

import com.truyen.persistence.entity.LoaiLog;
import com.truyen.persistence.entity.LogOther;
import com.truyen.utils.PagingInfo;


public interface LogOtherService {
	
	// tao moi
	void save(LogOther entity);

	//tim theo id
	LogOther findById(Long id);

	//lay tat ca
	List<LogOther> getAll();

	void writeLog(String name, String content, LoaiLog loaiLog, boolean isError);

	List<LogOther> getLstLog(String sort, String sortBy, LoaiLog loaiLog,
			PagingInfo pInfo);

	void delLst(boolean isError);
}
